<?php
    echo $form->create('StudentProfile', array('action' => 'edit'));
    echo $form->input('real_name', array('label' => '真实姓名'));
    echo $form->input('gender', array('label' => '性别',
        'options' => array(
        'male' => '男生',
        'female' => '女孩')));
    echo $form->input('grade_id', array('label' => '班级',
        'options' => $ops));
    echo $form->end('确认修改');
?>
